package com.medisched.medisched.service;

import com.medisched.medisched.domain.Leaveapplication;

import java.util.List;

/**
 * 请假记录Service接口
 * 
 * @author ruoyi
 * @date 2025-05-15
 */
public interface ILeaveapplicationService 
{
    /**
     * 查询请假记录
     * 
     * @param id 请假记录主键
     * @return 请假记录
     */
    public Leaveapplication selectLeaveapplicationById(Long id);

    /**
     * 查询请假记录列表
     * 
     * @param leaveapplication 请假记录
     * @return 请假记录集合
     */
    public List<Leaveapplication> selectLeaveapplicationList(Leaveapplication leaveapplication);

    /**
     * 新增请假记录
     * 
     * @param leaveapplication 请假记录
     * @return 结果
     */
    public int insertLeaveapplication(Leaveapplication leaveapplication);

    /**
     * 修改请假记录
     * 
     * @param leaveapplication 请假记录
     * @return 结果
     */
    public int updateLeaveapplication(Leaveapplication leaveapplication);

    /**
     * 批量删除请假记录
     * 
     * @param ids 需要删除的请假记录主键集合
     * @return 结果
     */
    public int deleteLeaveapplicationByIds(Long[] ids);

    /**
     * 删除请假记录信息
     * 
     * @param id 请假记录主键
     * @return 结果
     */
    public int deleteLeaveapplicationById(Long id);
}
